Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

fix getproxyurl for urls without a prefix#32

Open
plooshi wants to merge 1 commit into
titaniumnetwork-dev:mainfrom
Ploosho:main
Open

fix getproxyurl for urls without a prefix#32
plooshi wants to merge 1 commit into
titaniumnetwork-dev:mainfrom
Ploosho:main

Conversation

@plooshi

@plooshi plooshi commented Dec 5, 2024

Copy link
Copy Markdown

No description provided.

@wearrrrr

wearrrrr commented Dec 5, 2024

Copy link
Copy Markdown
Member

Shouldn't the above line already handle this edge case? I'm a little bit confused at what needs to be fixed here

@wearrrrr

wearrrrr commented Dec 5, 2024

Copy link
Copy Markdown
Member

Oh wait, I see what you're going for. You might need to move it above the check for URL.isUrl though, I'll test it out later.

@plooshi

plooshi commented Dec 5, 2024

Copy link
Copy Markdown
Author

i've just made it so it's the same logic as the embed option

@plooshi

plooshi commented Dec 5, 2024

Copy link
Copy Markdown
Author

the point is so that if you type something like discord.com it will add http:// before it, so that UV doesn't say invalid url

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants